ExecutorServiceWorkRunner

A WorkRunner implementation that is backed by an ExecutorService.

Constructors

Link copied to clipboard
constructor(service: ExecutorService)

Functions

Link copied to clipboard
open override fun dispose()

Dispose of all resources associated with this object.

Link copied to clipboard
open override fun post(runnable: Runnable)

Must discard any new Runnable immediately after dispose method of Disposable is called. Not doing this may result in undesired side effects, crashes, race conditions etc.